home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / c / gcc222-2.lha / gcc_include / sys / dir.h next >
Encoding:
C/C++ Source or Header  |  1993-03-08  |  516 b   |  34 lines

  1. /*    directory scanning for ansic.library    */
  2. /*    (c)Copyright 1992 Davide Pasetto     */
  3.  
  4. #ifndef    _SYS_DIR_H
  5. #define _SYS_DIR_H
  6.  
  7. #include    <sys/types.h>
  8. #include    <dos/dos.h>
  9.  
  10. typedef    long int    DIR;        /* this is private */
  11.  
  12. struct direct {
  13.   ino_t    d_ino;
  14.   char  d_name[108];
  15.   int   d_namlen;
  16. };
  17.  
  18. #ifdef    __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. DIR           *opendir(const char *);
  23. struct direct *readdir(DIR *);
  24. void          rewinddir(DIR *);
  25. void          closedir(DIR *);
  26.  
  27. #ifdef    __cplusplus
  28. }
  29. #endif
  30.  
  31. #endif    /* _SYS_DIR_H */
  32.  
  33.  
  34.